// interface A {
//   name: string
// }

// interface B {
//   age: number
// }

// type C = A & B

// let a:C;

// a.name

// -------------------------

interface Test {
  name: string
  age: number
}

type newType = keyof Test

let test: newType = 'age'

console.log(test)
